<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="root">
    <h2>学校名称{{name}}</h2>
    <h2>学校地址{{address}}</h2>
</div>
</body>
<script type="text/javascript">
    Vue.config.productionTip=false
    const vm=new Vue({
        el:'#root',
        data:{
            name:'dsw',
            address:'beijing',
            student:{
                name: 'sam',
                age:{
                    rAge:32,
                    sAge:18,
                }
            },
            friend:[
                {name:'ken',age:34}
            ]
        }
    })
</script>
</html>